<jsp:directive.include file="includes.jsp"/>
<script type="text/javascript">
	$(document).ready(function() {

		$.ajaxSetup({cache: false});
		
		$('#tb_files').dataTable( {
				"bLengthChange": false,
				"bFilter": true,
				"bInfo": false,
				"bAutoWidth": true} );
	});

	
</script>

<div id="div_filelist" style="width: 100%; font-family: sans-serif; font-size: 11px">
<table id=tb_files class="display">
	<thead>
		<tr>
			<th>Nome do Arquivo</th>
			<th>Tamanho</th>
			<th>Data de Upload</th>
			<th>Respons&aacute;vel</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${fileList}" var="file">
			<tr>
				<td width="50%">${file.filename}</td>
				<td width="10%" align="center">${file.filesize}</td>
				<td width="20%" align="center">${file.uploadDate}</td>
				<td width="20%" align="center">${file.owner}</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
</div>
